#CC := gcc
#CC := arm-linux-gcc
#/home/soledadboy/arm-2008q1/bin
CC := ~/arm-2008q1/bin/arm-linux-gcc
SOURCE := $(wildcard *.c)
OUTPUT_C := -c
OUTPUT_O := -o
INCTAG := -Wall -fpic -lpthread -g 
#PTHREAD := -lpthread
#INCLUDE := common.h\
INCLUDE :=
obj := *.o
OBJECT := uart

$(OBJECT): $(obj)	
	$(CC) $^ $(OUTPUT_O) $@ $(INCTAG) $(INCLUDE)
	@rm -rf *.o
$(obj): $(SOURCE)
	$(CC) $(OUTPUT_C) $^  

clean:
	rm -rf *.o $(OBJECT)
